<template>
  <button @click="childMethod">子组件点击</button>
</template>

<script>
  export default {
    methods: {
      childMethod() {
        this.$parent.fatherMethod();
      }
    },
  }
</script>

<style scoped>

</style>
